package com.heifei.day02

/**
 * @author caizhengjun
 * @date 2020/8/4 9:26 下午
 */
object ApplyDemo {

  def apply(): Unit = {
    println(888)
  }

  def apply(name: String): Unit = {
    println(name)
  }

  def main(args: Array[String]): Unit = {
    ApplyDemo.apply()

    ApplyDemo.apply("蔡正峻")
  }
}
